<!--{template @admin/header}--> 
{~ui('loader')->addon('picker.date')}

<form action="{$action}" method="post" enctype="multipart/form-data"> <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td colspan="2">添加专题</td> </tr> 
   <tr>
    <td bgcolor="#F4F8FC">专题名字：</td>
    <td align="right"><input name="title" type="text" id="title" />
      &nbsp;&nbsp;<font color="red">*</font></td>
  </tr> 
   <tr>
    <td bgcolor="#F4F8FC">专题简介：</td>
    <td align="right"><textarea name="intro" id="intro" cols="40" rows="5"></textarea>
      &nbsp;&nbsp;<font color="red">*</font></td>
  </tr> 
   <tr>
    <td bgcolor="#F4F8FC">专题页面关键字：</td>
    <td align="right"><textarea name="keyword" id="keyword" cols="40" rows="3"></textarea>
      &nbsp;&nbsp;<font color="red">*</font></td>
  </tr> 
   <tr>
    <td bgcolor="#F4F8FC">专题页面描述：</td>
    <td align="right"><textarea name="description" id="description" cols="40" rows="5"></textarea>
      &nbsp;&nbsp;<font color="red">*</font></td>
  </tr> 
  
  <tr>
    <td bgcolor="#F4F8FC">大图地址：</td>
    <td align="right"><input name="big_img" type="text" id="big_img" />
      &nbsp;&nbsp;<font color="red">*</font>（<font color="red">先把图片上传到云储存空间然后把生成的链接复制到这儿</font>）</td>
  </tr> 
   <tr>
    <td bgcolor="#F4F8FC">小图地址：</td>
    <td align="right"><input name="small_img" type="text" id="small_img" />
      <font color="red">*</font>（<font color="red">先把图片上传到云储存空间然后把生成的链接复制到这儿</font>）</td>
  </tr> 
  <tr> <td width="18%" bgcolor="#F4F8FC">开始时间：</td> <td align="right"> <input type="text" onfocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'yyyy年MM月dd日 HH时mm分ss秒',startDate:'{echo date('Y-m-d H:i:s', time());}',vel:'start_time'})" size="35" class="Wdate" value="{echo date('Y年m月d日 H时i分s秒', time());}" /> <input name="start_time" type="hidden" id="start_time" value="{echo date('Y-m-d H:i:s', time());}" />
    <font color="red">*</font> </td> </tr>
      <tr> <td width="18%" bgcolor="#F4F8FC">结束时间：</td> <td align="right"> <input type="text" onfocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'yyyy年MM月dd日 HH时mm分ss秒',startDate:'{echo date('Y-m-d H:i:s', time());}',vel:'end_time'})" size="35" class="Wdate" value="{echo date('Y年m月d日 H时i分s秒', time());}" /> <input name="end_time" type="hidden" id="end_time" value="{echo date('Y-m-d H:i:s', time());}" />
    <font color="red">*</font> </td> 
      </tr>
    
     <tr>
<td>所属城市：</td><td><select name="city_id" id="city_id">
{loop $city $i $value}	  
<option value="{$value['cityid']}">{$value['cityname']}</option>
{/loop}
</select>
  <font color="red">*</font></td></tr> 
  <tr> <td width="160" class="td_title">产品分类：</td> <td>
{if logic('catalog')->Enabled()}
{~ui('loader')->js('#html/catalog/catalog.mgr.ajax')}
{eval ui('catalog')->inputer($p['category'])}
{else}如需开启，请<A HREF="admin.php?mod=catalog" target=_blank>点此设置</A>。注意：刷新本页面前，请先提交保存。
{/if}<font color="red">*</font>
</td> </tr> 
   <tr>
    <td bgcolor="#F4F8FC">折扣：</td>
    <td align="right"><input name="zhekou" type="text" id="zhekou" />
      &nbsp;&nbsp;<font color="red">*</font>;例子：1299元或者8.7折</td>
  </tr> 
  <tr> <td width="18%" bgcolor="#F4F8FC">排序：</td> <td align="right"><input name="sort" type="text" value="0" />
（数字越小，显示越靠前）</td> </tr>
 <tr> <td width="18%" bgcolor="#F4F8FC">显示设定：</td> <td align="right">
 <select name="display">
  <option value="1" selected>显示</option>
   <option value="0">隐藏</option>
 </select>
</td> </tr>


 </table> <br> <center><input type="submit" class="button" name="addsubmit" value="提 交"></center> </form>
{template @admin/footer}